package com.jgzx.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author libo
 * @date 2021/8/17 15:17
 */
@ApiModel(value = "单据追溯明细信息VO")
@Data
public class BillTraceBackDetailVO {

    @ApiModelProperty(value = "单据主表主键", required = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long hid;

    @ApiModelProperty(value = "单据明细主键", required = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long bid;

    @ApiModelProperty(value = "来源单据类别")
    private String source_bill_category;

    @ApiModelProperty(value = "来源单据类型")
    private String source_bill_type;

    @ApiModelProperty(value = "来源单据主表主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long source_bill_hid;

    @ApiModelProperty(value = "来源单据子表主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long source_bill_bid;

}
